home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group01b.txt
/
000143_icon-group-sender_Tue Sep 25 12:25:47 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2002-01-03
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f8PJOSw06397
for icon-group-addresses; Tue, 25 Sep 2001 12:24:28 -0700 (MST)
Message-Id: <200109251924.f8PJOSw06397@baskerville.CS.Arizona.EDU>
Date: Wed, 26 Sep 2001 00:05:43 +1000
From: Bruce Gordon Rennie <brennie@dcsi.net.au>
X-Newsgroups: comp.lang.icon
Subject: Line limit for ICON on input
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 1195
To all,
I am reading a text file that is very large (over 100 Mbytes) and am using the
following simple program to read and then write the file.
procedure main()
local ifile, cnttab, line, keyword, linesp, keyw, outp
write("Translation")
(ifile := open("f:\\A\\ForthNG.txt","r")) & write("Have opened file")
linesp := 0
cnttab := table(0)
outp := open("f:\\a\\forthSumNG.txt","w")
while line := read(ifile) do {
line ? (if ( ="Date:" ) then write(outp,line))
(((linesp +:= 1 ) % 1000) = 0) & write(".",linesp)
if (linesp > 204900) then write(line)
}
write(".",linesp)
end
However, it is stopping at line 204931. The purpose is to remove a set of line,
of which one is given as an example. But it is not getting past the above line.
My estimate is that there is over a million lines in this file. Can anyone shed
any light on this.
I am using ICON for Windows Version 9.3.1 May 4 1998. Any help appreciated.
regards
--
Bruce Rennie ( from God's Own Country Downunder )
Disciple of Jesus Christ in Training
The Cross of Jesus Christ - Salvation for all men.
Song of Solomon ( Song of Songs ) - The greatest Love Story Ever
and a story for our times.
Be a GOD Chaser.